package com.cxb.java.strategy;

/**
 * @Classname Context
 * @Date 2023/8/18 22:34
 * @Created by Administrator
 * @Description TODO
 */
public class Context {
    private Strategy strategy;

    public Context(Strategy strategy) {
        this.strategy = strategy;
    }

    public void executeStrategy() {
        strategy.execute();
    }
}
